/* 主页样式 */
.topbar-wrapper{
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333;
}
/* 超链接颜色 */
.topbar a{
    font-size: 12px;
    color: #b0b0b0;
    display: block;
}
/* 鼠标移入颜色 */
.topbar a:hover{
    color: #fff;

}
/* 设置分割线 */
.topbar .line{
    font-size: 12px;
    color: #424242;
    margin: 0 8px;
    margin-top: -1px;
}
/* 设置左侧导航栏 */
.service, .topbar li{
    float: left;
}
/* 设置图片小三角 */
.app-warper:hover>.app::after{
    
    content:'';
    position: absolute;

    width: 0;
    height: 0;
    /* display: block; */
    border: 8px solid transparent;
    border-top: none ;
    border-bottom-color:#fff;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.app{
    position:relative;
}
/* 设置下拉APP动效 */
.app:hover .qrcode,
.app:hover::after{
    display: block;
    height: 148px;
}
/* .app-warper:hover>.app .qrcode
{
    display: block;
} */


/* 下拉下载APP */
.app .qrcode{
    /* display: none; */
    position: absolute;
    left: 22px;
    width: 124px;
    /* height: 148px; */
    height: 0;
    overflow: hidden;
    margin-left: -62px;
    line-height: 1;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    /* 过度效果 */
    transition: height 0.3s;
    z-index:999;

}
.app .qrcode img{
    width: 90px;
    margin: 17px;
    margin-bottom: 10px;

}
/* 二维码字体 */
.app .qrcode span{
    font-size: 14px;
    color: black;
}

.shop-cart, .user-info{
    float: right;
}
.shop-cart{
    margin-left: 26px;
}
/* 购物车样式 */
.shop-cart a{
    width: 120px;
    background-color: #424242;
    text-align: center;
}
.shop-cart:hover a{
    background-color: #fff;
    color: #FF6700;
}
/* 购物车下拉 */
.gwc{
    z-index:99;
    position: absolute;
    /* display: none; */
    width: 250px;
    height: 0;
    /* 溢出隐藏 */
    overflow: hidden;
    background-color:#fff;
    margin-left: -130px;
    box-shadow: 0 5px 5px rgba(0,0,0,.3);
    text-align: center;
}
.shop-cart:hover .gwc,.mag{
    display: block;
    height: 90px;
    transition: height 0.3s;
}
.gwc .mag{
    /* position: absolute; */
    /* display: none; */
    padding: 20px 0 20px;
    margin: 0 20px 20px;
    text-align: center;
}
.shop-cart i{
    margin-right: 2px;
}
.header-wrapper{
    /* background-color: red; */
    position: relative;
}
/* 设置header */
.header{
    height: 100px;
    /* background-color: #bfa; */
    
}
/* 设置logo的h1 */
.header .logo{
    float: left;
    margin-top: 22px;
    width: 55px;
    height: 55px;
    position: relative;
    overflow: hidden;
    text-indent: -999px;
}
.header .logo a{
    display: block;
    width: 55px;
    height: 55px;
    /* background-color: #FF6700; */
    background-image: url(../IMG/logo-mi2.png) ;
    background-size: 56px;
    background-position: center;
}

.header .nav-wrapper{
    float: left;
    margin-left: 7px;
}
/* 设置导航条 */
.header .nav{
    /* width: 850px; */
    /* background-color: aquamarine; */
    height: 100px;
    line-height: 100px;
    padding-left: 58px;

}
/* 设置导航条中Li */
.nav > li{
    float: left;
}
.all-goods-wrapper{
    position:relative;
    /* background-color: red; */

}
/* 设置左侧导航条样式 */
.left-menu{
    width: 234px;
    height: 420px;
    padding: 20px 0;
    background-color: rgba(0,0,0,.6);
    position: absolute;
    z-index: 99;
    left:-120px;
    line-height: 1;

}
/* 导航栏超链接 */
ul.left-menu li a{
    display: block;
    height: 42px;
    line-height: 42px;
    color: #fff;
    margin-right: 0;
    padding: 0 30px;
    font-size: 14px;
}
ul.left-menu li a:hover{
    background-color: #FF6700;
    color: #fff;
}
/* 超链接右侧小三角 */
.left-menu a i{
    float: right;
    line-height: 42px;
    
}
/* 设置导航条中的超链接 */
.nav-wrapper li a{
    display: block;
    font-size: 16px;
    margin-right: 20px;
    /* padding: 0 16px; */
}
.nav-wrapper li a:hover{
    color: #FF6700;
}

/* 隐藏全部商品 */
.all-goods{
    visibility: hidden;
}
.nav .goods-info{
    /* height: 228px; */
    height: 0;
    overflow: hidden;
    width: 100%;
    background-color: #fff;  
    position: absolute;
    top: 100px;
    left: 0;
    transition: height 0.3s;
    z-index:9999
}
/* 弹出层 */
.nav .show-goods:hover ~ .goods-info,
.goods-info:hover{
    height: 228px;
    border-top: 1px solid rgb(224, 224, 224);
    box-shadow: 0 5px 3px rgba(0,0,0,.2);
}
/* 搜索框容器 */
.search-wrapper{
    width: 296px;
    height: 50px;
    float: right;
    /* background-color: red; */
    margin-top: 25px;
    border: 1px solid rgb(224,224,224);

}
.search-wrapper .search-inp{
    box-sizing: border-box;
    width: 244px;
    border: none;
    float:left;
    padding:0 10px;
    height: 50px;
    font-size:16px;
    border:1px solid rgb(224,224,224);
    outline: none;
}
/* 设置input焦点后的样式 */
.search-wrapper .search-inp:focus,
.search-wrapper .search-inp:focus + button{
    
    border-color: #FF6700;
}
/* 放大镜图标 */
.search-wrapper .search-btn{
    float:left;
    height:50px;
    width:52px;
    padding: 0;
    border: none;
    background-color: #fff;
    color: #616161;
    font-size: 16px;
    border: 1px solid rgb(224,224,224);
    border-left: none;
}
/* 鼠标移入放大镜 */
.search-wrapper .search-btn:hover{
    background-color: #FF6700;
    color: #fff;
    border:none;
}
/* 设置banner */
.banner{
    position: relative;
    height: 460px;
}
.banner .img-list li{
    position: absolute;
}
.banner img{
    width: 100%;
    vertical-align: top;

}

/* 设置导航点 */
.pointer{
    position: absolute;
    bottom: 22px;
    right: 35px;
}

.pointer a{
    float: left;
    width: 6px;
    height: 6px;
    border: 2px rgba(255,255,255,.4) solid;
    border-radius: 50%;
    background-color:rgba(0,0,0,.4);
    margin-left: 6px;
}

.pointer a:hover,
.pointer a.active{
    border-color: rgba(0,0,0,.4);
    background-color: rgba(255,255,255,.4);
}

/* 设置上下页按钮 */
.prev-next a{
    width: 41px;
    height: 69px;
    background-image: url(../IMG/icon-slides.png);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
/* 雪碧图 */
.prev-next .prev{
    left: 234px;
    background-position: -84px 0;

}
.prev-next .prev:hover{
    background-position: 0 0;
}

.prev-next .next{
    right: 0;
    background-position: -125px 0;
}
.prev-next .next:hover{
    background-position: -43px 0;
}
/* 右侧工具栏 */
.to-top{
    width: 26px;
    height: 206px;
    background-color: red;
    position: fixed;
    bottom: 60px;
    right: 50%;
    margin-right: -639px;
}

.ad{
    
    height: 170px;
    margin-top: 14px;
}

.ad .shortcut,
.ad .imgs,
.ad li{
    float: left;
}
/* 设置左侧快捷键 */
.ad .shortcut{
    width: 228px;
    height: 168px;
    background-color: #5f5750;
    margin-right: 14px;
    padding-top:2px;
    padding-left: 6px;
}
/* 设置上边框 */
.ad .shortcut li::before{
    content: '';
    position: absolute;
    width: 64px;
    height: 1;
    background-color:#665e57;
    left: 0;
    right: 0;
    top:0;
    margin: 0 auto;
}
/* 设置左边框 */
.ad .shortcut li::after{
    content:'';
    position: absolute;
    width: 1px;
    height: 70px;
    background-color: rgba(0,0,0,.2);
    top: 0;
    bottom: 0;
    margin: auto 0;

}
.ad .shortcut a{
    display: block;
    color: rgb(143, 143, 143);
    height: 84px;
    width: 76px;
    text-align: center;
    font-size: 12px;
    overflow: hidden;
}
.ad .shortcut a:hover{
    color: #fff;
}
.ad .shortcut i{
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 20px;
    
}
/* 设置左侧的图片 */

.ad .imgs li{
    width: 316px;
    margin-right: 15px;
}
.ad .imgs li:last-child{
    margin: 0;
}

.ad .imgs img{
    width: 100%;
    vertical-align: top;
}
